package com.webbei.myCustom.dao;

import java.util.List;
import java.util.Map;

import com.webbei.pojo.Customer;
import com.webbei.pojo.Customs;
import com.webbei.pojo.Label;
import com.webbei.pojo.LoveCar;
import com.webbei.pojo.Orders;
import com.webbei.pojo.Products;
import com.webbei.pojo.Userhot;

public interface myCustomDao {
	public List<Customs> getCustomsByUserName(String userName);
	public Customer getCustomerByUserName(String userName);
	public List<Orders> getOrderByUserName(String userName);
	public int deleCustom(Long customId);
	public int saveCustom(Customs c);
	public Double getPriceByBgPic(String pic);
	public Customs getCustomById(Long id);
	public Integer getBgPicIdByBgPic(String pic);
	public Integer getProductIdByBgPic(String pic);
	public void deleOrder(Long id);
	public Orders getOrderById(Long id);
	public int getOrderNumByUserName(String name);
	public List<Products> getProducts();
	public List<Label> getLabelsByProductId(Integer id);
	public Integer updateOrder(Long id,Orders o);
	public List<Integer> getUserIdsByUserLoveCarId(Integer id);
	public Userhot getUserhotByUserId(Integer id);
	public LoveCar getLoveCarByUserName(String name);
	public List<Userhot> getUserhotsByKeyWord(Map<String,String> map);
	public void updateCustom(Customs c);
	public Integer checkCustomId(Long idd);
	public String getProductNameByBgpic(String bgPic);
	public Userhot getUserhotByUserName(String username);
}
